//
//  YWGetNewsDataStatus.h
//  YueshengToutiao
//
//  Created by yellow on 2020/3/13.
//  Copyright © 2020 YW. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef enum : NSUInteger {
    YWCellTypeNoImg = 0, //没有图片的文章
    YWCellTypeOneImg = 1, //有一张图片的文章
    YWCellTypeVideo = 2, //横向视频
    YWCellTypeLittleVideo = 3, //小视频
    YWCellTypePoint = 4, //观点 暂时不需要
    YWCellTypeVoice = 5, //语音 暂时不需要
    
} YWCellType;

@interface YWGetNewsDataStatus : NSObject


@property(nonatomic,copy)NSNumber *IsFocus; //是否已关注 true为是  false为否

@property(nonatomic,assign)BOOL isLastStatus; //是不是每一组的最后一个

@property(nonatomic,copy)NSString *NewsId; //文章id

@property(nonatomic,copy)NSString *ContentType; //内容类型 （1.文章，2.观点，3.语音，4.视频）

@property(nonatomic,copy)NSString *Title; //标题

@property(nonatomic,copy)NSString *Describe; //描述

@property(nonatomic,copy)NSString *Content; //内容

@property(nonatomic,copy)NSString *FileUrl; //视频地址

@property(nonatomic,copy)NSString *AddDateTime; //发布时间


@property(nonatomic,copy)NSString *DateInfo; //日期


@property(nonatomic,copy)NSNumber *Praise; //点赞数

@property(nonatomic,copy)NSString *ViewUser; //查看权限(1.全网，2.客户(登录)，3.用户（购买用户）

@property(nonatomic,copy)NSString *NewPrice; //价格

@property(nonatomic,copy)NSString *Unlock; //解锁人数

@property(nonatomic,copy)NSString *NewLabel; //栏目名称


@property(nonatomic,copy)NSString *Source; //来源

@property(nonatomic,copy)NSString *Reading; //阅读数

@property(nonatomic,copy)NSString *Examine; //是否审核

@property(nonatomic,copy)NSString *UserId; //名师id

@property(nonatomic,copy)NSString *LabelId; //栏目id

@property(nonatomic,copy)NSString *Active; //是否有效

@property(nonatomic,copy)NSString *Author; //作者


@property(nonatomic,copy)NSString *Important; //是否是顶置

@property(nonatomic,copy)NSString *IsLike;//是否已点赞


@property(nonatomic,copy)NSString *IsBuy; //是否已购买  ViewUser为3的时候才要购买


@property(nonatomic,copy)NSString *BuyWords;//解锁说明文字

@property(nonatomic,copy)NSString *Status;//状态 1为直接可以点击进去看  2为需要登录  3需要购买 4为需要测评

@property(nonatomic,copy)NSString *CheckUrl;//测评跳转地址(仅Status值为4的时候有效)

@property(nonatomic,copy)NSString *RiskTips; //风险提示信息

//@property(nonatomic,strong)NSArray *RecList; //相关推荐

//新增字段
@property(nonatomic,copy)NSString *Img; //文章缩量图 (新增字段)
@property(nonatomic,copy)NSString *AuthorImg; //作者头像 (新增字段)
@property(nonatomic,copy)NSString *Tj; //首页推荐 1为推荐 0为没有推荐（新增字段）
@property(nonatomic,copy)NSString *Jhtj; //名师精华页推荐 1为推荐 0为没有推荐（新增字段）
@property(nonatomic,copy)NSString *VideoType; //视频类型（0为横屏、1为竖屏）（新增字段）

//我自己增加的字段
//枚举、判断这个cell是什么类型
@property (nonatomic, assign, readonly) YWCellType cellType;

@property(nonatomic,assign)BOOL isFirstStatus; //是不是第一个



@property(nonatomic,assign)BOOL isClassify; //是否栏目
@property(nonatomic,assign)BOOL isTeacherList; //是否老师列表
@property(nonatomic,copy)NSString *LabelName;
@property(nonatomic,copy)NSString *LabelHeadImg;

//新增字段；图片数组
@property(nonatomic,strong)NSArray *ArrImg;


@property(nonatomic,copy)NSNumber *IsColumn;




@property(nonatomic,assign)BOOL isSelect;

@end

NS_ASSUME_NONNULL_END
